package com.example.joke.custom.kg

import android.widget.Toast
import com.example.joke.base.navigationbar.AbsNavigationBar
import com.example.joke.databinding.ActivityKgSlideMenuBinding
import com.example.joke.frame.BaseSkinActivity
import com.example.joke.frame.DefaultNavigationBar

class KGSlideMenuActivity : BaseSkinActivity<ActivityKgSlideMenuBinding>() {

    override fun setListener() {
    }

    override fun initData() {

        binding.tv.setOnClickListener {
            Toast.makeText(this, "我是内容", Toast.LENGTH_LONG).show()
        }
    }

    override fun initTitle() {
        DefaultNavigationBar.Builder(this)
            .setTitle("酷狗侧滑效果")
            .builder<AbsNavigationBar.Builder.AbsNavigationParams>()
    }

    override fun getBinding1(): ActivityKgSlideMenuBinding {
        return ActivityKgSlideMenuBinding.inflate(layoutInflater)
    }
}